package session;

import config.Configuration;

import java.util.List;

public interface SqlSession {

    public int insert(String name, Object[] params);

    public int delete(String name, Object[] params);

    public int update(String name, Object[] params);

    public <T> List<T> selectList(String name, Object[] args,Class<T> tClass);

    public <T> T selectOne(String name, Object[] args,Class<T> tClass);

    public Configuration getConfiguration();

}
